package it.aekidna.cleverplatypus.utils
{
	
	[Bindable]
	public class TaskDescriptor
	{
		public var description : String;
		public var blocking : Boolean;
		public var operation : String;
		public var code : String;
		public var minimumProgress : Number = 1;
		public var maximumProgress : Number = 1;
		public var currentProgress : Number = 1;
		 
		public function TaskDescriptor( 
			inDescription : String, 
			inBlocking : Boolean = false, 
			inOperation : String = "", 
			inCode : String = "",
			inMinimumProgress : Number = 1,
			inMaximumProgress : Number = 1 )
		{
			description = inDescription;
			blocking = inBlocking;
			operation = inOperation;
			code = inCode;
			minimumProgress = inMinimumProgress;
			maximumProgress = inMaximumProgress;
			currentProgress = minimumProgress;
		}

	}
}